package min.chapter.three;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class BeanNameAcquisition {

	public static void main(String[] args) {
		ApplicationContext context = new FileSystemXmlApplicationContext("src/min/chapter/three/BeanName.xml");
		BeanName bean = (BeanName) context.getBean("lifeBean");
		bean.lifeMethod();
	}
}
